2011-07-20 Jeff Blum 
	* Release: cleanit-functions 2.7
	* Update/Fixes: 
		--- replaced ereg and eregi functions because deprecated in recent PHP versions

2009-01-30 Jeff Blum 
	* Release: cleanit-functions 2.6.1
	* Update/Fixes: 
		--- fixed mistake in chekcing that empty lines function doesn't exist
		--- changed default of keepclasses to "N" rather than "Y" b/c it makes more sense; 
			but also modified class stripping code to ignore classes in <ul or <ol lines...
		--- updated the cleanup.php example file though I haven't actually tested it ;-)
		
2009-01-29 Jeff Blum 
	* Release: cleanit-functions 2.6
	* Update/Fixes: 
		--- added check to make sure empty lines functions doesn't already exist
		--- changed default behavior to NOT strip out class statements but added a
			variable (keepclasses) that can be set to "N" to strip them out

2008-12-20 Jeff Blum 
	* Release: cleanit-functions 2.5
	* Update/Fixes: 
		--- added function to strip out empty lines
		--- changed slightly the alt text used when processing images
		
2008-12-10 Jeff Blum 
	* Release: cleanit-functions 2.4
	* Update/Fixes: 
		--- made a small modification to handle <code> instances in Paste From Word; also removed extra <br /> instances
			in the same routine.
		
2008-12-03 Jeff Blum 
	* Release: cleanit-functions 2.3
	* Update/Fixes: 
		--- was having a problem with the first letter of a list item occasionally getting stripped (especially 
			if the letter is a P or an S). Also had a problem handling list items that have a space between the 
			list number/letter using the htmlentity &nbsp (e.g., 10.&nbsp;A list item...). Should be fixed now.
			The problem was, as is usually the case, poorly formed regex.

2008-1-12 Jeff Blum 
	* Release: cleanit-functions 2.2
	* Update/Fixes: 
		--- added variable ($keepspaces) that can be set by user to not remove extra spaces (they are removed by default) 
		--- script now removes width statement in columns inside tables but added a variable that can be set 
			by user to tell script not to remove (set $tablewidths="N")

2007-12-18 Jeff Blum 
	* Release: cleanit-functions 2.1
	* Update/Fixes: 
		--- sometimes $list gets unset but we do an in_array check which will throw a PHP error so before the line: 
				if (in_array($current_list, $list)) {
			I added this line: 
				if (!$list) $list = array();

2007-11-05 Jeff Blum 
	* Release: cleanit-functions 2.0.1
	* Update/Fixes: ???

2007-10-25 Jeff Blum 
	* Release: cleanit-functions 2.0
	* Update/Fixes: 
		--- had been requiring that the 'Remove Styles definition' option be set on FCKeditor paste dialog 
			popup window but that isn't set by default so I just added some regex to replace all 
			style="" type code within cleanit function itself...
		--- Was assuming that the paste from word feature of FCKeditor always produced <p> tags but when used 
			with IE those are converted to <div> instead and cleanit didn't handle those so I converted div
			tags to p tags...not really efficient but...
		--- replaced <b> tags with <strong> tags
		--- added a <div></div> wrapper to cleaned output lines - for some reason FCKedtior wants to add back
			<p> tags otherwise...
		--- added various lines of code to fix up the tidy function and also to correct FCKeditor quirks
			at the end of the cleanit function (e.g., replace &nbsp;<br /> with <br />) 
		--- improved image handling - added code to tidy function to better find the pasted image code, which
			varies depending on whether Firefox or IE is used (NOTE: I haven't tested any other browser/OS combos)
			also fixed problem where image wasn't being handled properly on the webmastersherpa site demo
		--- added ability to convert <code></code> segments but this requires that you comment out the 
			following line in fck_paste.html:
			html = html.replace(/<(\w[^>]*) class=([^ |>]*)([^>]*)/gi, "<$1$3") ;
			If it a <code></code> segment is inline we just use <code> but if it is a complete line or 
			multiple complete lines, we use <code class="block">
		--- updated tidy function to remove <font size=\"2\"> tags since MS Word often pastes these for 
			regular text.
		--- updated tidy function to eliminate a lot of useless xml tags created when pasting an image from MS Word
		--- made some basic improvements (?) to the cleanit function. Some of changes are just cleaning up code
			no longer used (variables, etc.) or that were duplicated when one instance would have sufficed. The 
			major change is how to recognize the ending of a list which is done if 2 consecutive <br /> or equivalent 
			lines are encountered after a list item closes. This extends to closing 2 list levels if we're in a 
			multi-level list and encounter those conscutive <br /> lines. I also added code to remove one of those 
			consecutive <br /> statements so that we keep the most likely intended look and feel.
			I am sure much more improvement can be had...
		--- Moved some code found in cleanit function to the tidy function where it more logically belonged.
			

2007-09-01 Jeff Blum 

	* Release: cleanit-functions 1.1 
	* Update/Fixes: 
		--- any text contained in <code></code> will no longer have extra spaces removed.
		--- 

2007-02-17 Jeff Blum 

	* Release: cleanit-functions 1.0
	* Update/Fixes: First Release

